package cn.kgc.fcm.dsbank.enumtest;

import cn.kgc.fcm.dsbank.dto.ResultJson;

public class ResultJsonTest {

    public static void main(String[] args) {
        ResultJson resultJson1 = ResultJson.buildSuccess();
        ResultJson resultJson2 = ResultJson.buildSuccess("数据");
        ResultJson resultJson3 = ResultJson.buildSuccess("成功了","数据");
        ResultJson resultJson4 = ResultJson.buildError("没成功");

        System.out.println(resultJson1);
        System.out.println(resultJson2);
        System.out.println(resultJson3);
        System.out.println(resultJson4);


    }
}
